package com.springTest;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * @Author: YLBG-YCY-1325
 * @Description:
 * @Date: 2017/7/21
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = CDplayerConfig.class)
//@ActiveProfiles("dev")
public class CDplayerTest {

    @Autowired
    private CompactDisc cd;
//    @Autowired
//    private CDplayer cDplayer;

    @Test
    public void cdshoudNotNull() throws Exception {
        assert cd!=null;
    }

}
